#ifndef _BORDERCHECKER_H_
#define _BORDERCHECKER_H_

class BorderChecker
{
public:
    BorderChecker(double low, bool isLowClosure, double high, bool isHighClosure);
    bool isValid(double value) const;
    
private:
    double low_m;
    double high_m;
    bool isLowClosure_m;
    bool isHighClosure_m;
};

#endif
